-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
4.6.0
-
Code
-
Classes
- CartCalculator
Total Complexity |
55 |
Dependencies |
12 |
Dependents |
1 |
Total lines |
355 |
Lines of code |
203 |
Logical lines of code |
126 |
Comment lines |
72 |
Methods |
12 |
Properties |
5 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
processCart() |
C |
35 |
27 |
82 |
applyPersistentRules() |
A |
43 |
12 |
48 |
recreateItem() |
S |
50 |
2 |
34 |
__construct() |
S |
69 |
3 |
6 |
make() |
S |
74 |
2 |
4 |
makeWithoutConditions() |
S |
65 |
2 |
9 |
announceRuleCalculated() |
S |
75 |
2 |
5 |
withContext() |
S |
81 |
1 |
3 |
withPersistentRuleRepository() |
S |
81 |
1 |
3 |
getRulesCollection() |
S |
82 |
1 |
3 |
processItem() |
S |
80 |
1 |
3 |
isCalculationAllowed() |
S |
80 |
1 |
3 |